import { Pages } from "./pages/Pages";
import { router } from "./pages/routerVisitor";

export function toRedPacket(index: number = 5) {
    return router.visit(Pages.redPacket, index)
}